﻿package com.athena.vo 
{
	import com.cubeia.firebase.model.PlayerInfo;
	import flash.display.Bitmap;
	
	public class ObjectPlayer extends PlayerInfo
	{
		public function ObjectPlayer():void	{}
		private var _playerId :String;
        private var _playerName :String; //Username
		private var _displayName:String;
		private var _lock:int;
        private var _mark :int;  //so AG nguoi choi
		private var _markLQ :int;  //so LQ nguoi choi
		private var _x : int; //0 - khong khuyen mai, 1- khuyen mai
		private var _vip : int; //0 - khong khuyen mai, 1- khuyen mai		
		private var _ik : int; //0 - khong khuyen mai, 1- khuyen mai
		private var _playerIp : String; //0 - khong khuyen mai, 1- khuyen mai		
		private var _loanAG :int;  //so AG vay
		private var _countMsg :int;  //so MSG chua doc
        private var _markInGame :int; //So diem trong van do
		private var _currentPosition:int; //So thu tu trong ban choi
        private var _finishPosition :uint; //So thu tu ha
        private var _totalGames :int; //Tong so van choi
        private var _winGames :int; //Tong so van thang
        private var _gameInDay :int; //So van choi trong ngay
        private var _winGameInDay :int; //So van thang trong ngay
        private var _gameInMonth :int;//So van choi trong thang
        private var _winGameInMonth :int; //So van thang trong thang
        private var _gameInYear :int;//So van choi trong nam
        private var _winGameInYear :int; //So van thang trong nam
        private var _lastConnected :Date; //Thoi diem cuoi cung connect
        private var _type :uint; //0 ==> Dang xem, 1==> Dang choi, 2==>Da duoc dong y cho choi, 3==>Khong duoc dong y cho choi
		private var _currTableID:int; //nguoi choi hien dang o ban choi nao
		private var _arrChess_Movie :Array ;// Danh sach Movie con bai tren tay
		private var _arrChess :Array ;// Danh sach con bai tren tay
		private var _ready : Boolean ; //San sang hay chua
		private var _isCreateTable : Boolean ; //Co phai thang Tao ban khong
		private var _tinyURL : String ; //URL anh nho
		private var _isLock : Boolean ;//Lock Game
		private var _lastObject : Object ; //Nuoc danh gan day nhat
		public function get CurrTableID() {
			return _currTableID;
		}
		public function set CurrTableID(_value:int) {
			_currTableID = _value;
		}
		//PlayerID
		public function get Type() {
			return _type ;
		}
		public function set Type(_value :int) {
			_type = _value ;
		}
		//PlayerName
		public function get PlayerName() {
			return _playerName ;
		}
		public function set PlayerName(_value :String) {
			_playerName = _value ;
		}
		//DisplayName
		public function get DisplayName() {
			return _displayName ;
		}
		public function set DisplayName(_value :String) {
			_displayName = _value ;
		}
		//PlayerIP
		public function get PlayerID() {
			return _playerId ;
		}
		public function set PlayerID(_value :String) {
			_playerId = _value ;
		}
		//PlayerIP
		public function get PlayerIP() {
			return _playerIp ;
		}
		public function set PlayerIP(_value :String) {
			_playerIp = _value ;
		}
		//Lock
		public function get Lock() {
			return _lock ;
		}
		public function set Lock(_value :int) {
			_lock = _value ;
		}
		//Mark
		public function get Mark() {
			return _mark ;
		}
		public function set Mark(_value :int) {
			_mark = _value ;
		}
		//MarkLQ
		public function get MarkLQ() {
			return _markLQ ;
		}
		public function set MarkLQ(_value :int) {
			_markLQ = _value ;
		}
		//X
		public function get X() {
			return _x ;
		}
		public function set X(_value :int) {
			_x = _value ;
		}
		//MarkInGame
		public function get MarkInGame() {
			return _markInGame ;
		}
		public function set MarkInGame(_value :int) {
			_markInGame = _value ;
		}
		//FinishPosition
		public function get FinishPosition() {
			return _finishPosition ;
		}
		public function set FinishPosition(_value :uint) {
			_finishPosition = _value ;
		}
		//CurrentPosition
		public function get CurrentPosition() {
			return _currentPosition;
		}
		public function set CurrentPosition(_value :uint) {
			_currentPosition = _value ;
		}
		//TotalGames
		public function get TotalGames() {
			return _totalGames ;
		}
		public function set TotalGames(_value :int) {
			_totalGames = _value ;
		}
		//WinGames
		public function get WinGames() {
			return _winGames ;
		}
		public function set WinGames(_value :int) {
			_winGames = _value ;
		}
		//GameInDay
		public function get GameInDay() {
			return _gameInDay ;
		}
		public function set GameInDay(_value :int) {
			_gameInDay = _value ;
		}
		//WinGameInDay
		public function get WinGameInDay() {
			return _winGameInDay ;
		}
		public function set WinGameInDay(_value :int) {
			_winGameInDay = _value ;
		}
		//GameInMonth
		public function get GameInMonth() {
			return _gameInMonth ;
		}
		public function set GameInMonth(_value :int) {
			_gameInMonth = _value ;
		}
		//WinGameInMonth
		public function get WinGameInMonth() {
			return _winGameInMonth ;
		}
		public function set WinGameInMonth(_value :int) {
			_winGameInMonth = _value ;
		}
		//GameInYear
		public function get GameInYear() {
			return _gameInYear ;
		}
		public function set GameInYear(_value :int) {
			_gameInYear = _value ;
		}
		//WinGameInYear
		public function get WinGameInYear() {
			return _winGameInYear ;
		}
		public function set WinGameInYear(_value :int) {
			_winGameInYear = _value ;
		}
		//LastConnected
		public function get LastConnected() {
			return _lastConnected ;
		}
		public function set LastConnected(_value :Date) {
			_lastConnected = _value ;
		}
		//ArrCard
		public function get ArrChess() {
			return _arrChess ;
		}
		public function set ArrChess(_value :Array) {
			_arrChess = _value ;
		}
		//ArrMovie
		public function get ArrChess_Movie() {
			return _arrChess_Movie;
		}
		public function set ArrChess_Movie(_value :Array) {
			_arrChess_Movie = _value ;
		}
		//Ready
		public function get Ready() {
			return _ready ;
		}
		public function set Ready(_value :Boolean) {
			_ready = _value ;
		}
		//isCreateTable
		public function get IsCreateTable() {
			return _isCreateTable ;
		}
		public function set IsCreateTable(_value :Boolean) {
			_isCreateTable = _value ;
		}
		//VIP
		public function get VIP() {
			return _vip ;
		}
		public function set VIP(_value : int) {
			_vip = _value ;
		}
		//LoanAG
		public function get LoanAG() {
			return _loanAG ;
		}
		public function set LoanAG(_value : int) {
			_loanAG = _value ;
		}
		//LoanAG
		public function get CountMsg() {
			return _countMsg;
		}
		public function set CountMsg(_value : int) {
			_countMsg = _value ;
		}
		//IK
		public function get IK() {
			return _ik ;
		}
		public function set IK(_value : int) {
			_ik = _value ;
		}
		//TinyURL
		public function get TinyURL() {
			return _tinyURL ;
		}
		public function set TinyURL(_value :String) {
			_tinyURL = _value ;
		}
		//LastObject
		public function get LastObject() {
			return _lastObject ;
		}
		public function set LastObject(_value : Object) {
			_lastObject = _value ;
		}
		//Lock
		public function get IsLock() {
			return _isLock ;
		}
		public function set IsLock(_value : Boolean) {
			_isLock = _value ;
		}
	}
}